import request from '@/utils/request'

export const pageTableData = (query) => request.get('/api/admin/shoes/page' ,{params: query})

export const shoeDeleteById = (ids) => request.delete(`/api/admin/shoes`,{data: ids})

export const updateShoe = shoe => request.put('/api/admin/shoes',shoe)

export const addShoes = shoeDTO => request.post('/api/admin/shoes',shoeDTO)
